﻿CREATE TRIGGER LoanCancellingDebtAttachments_Tracking_Update
ON [dbo].[LoanCancellingDebtAttachments] 
AFTER Update
AS 
BEGIN
	UPDATE Sync.LoanCancellingDebtAttachments_Tracking 
	SET LastUpdatedDate  = getdate()
    FROM Sync.LoanCancellingDebtAttachments_Tracking s JOIN INSERTED i
    ON s.LoanCancellingDebtAttachmentID = i.LoanCancellingDebtAttachmentID
END











